//
//  SPSliderScrollView.h
//  penzer
//
//  Created by 还带大道 on 2018/11/15.
//  Copyright © 2018年 caiyc. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface SPSliderScrollView : UIView
@property (nonatomic,weak) UIScrollView *scrollView;
@property (nonatomic,strong) NSArray<UIView *> *views;

- (void)selectedWithPage:(NSInteger)page animateWithDuration:(NSTimeInterval)duration;
@property (nonatomic,copy) void(^scrollViewDidEndDeceleratingBlock)(NSInteger cureentPage);

@end
